package com.wjy.icu.domain.vo;

/**
 * @Description:
 * @author: wangjunyong
 * @date: 2021/10/19 10:15
 */
public class MqttConnectedVo {

    /**
     * username : undefined
     * ts : 1634608248296
     * sockport : 1883
     * proto_ver : 4
     * proto_name : MQTT
     * keepalive : 60
     * ipaddress : 122.245.211.81
     * expiry_interval : 0
     * connected_at : 1634608248296
     * connack : 0
     * clientid : mqttx_07210a3a
     * clean_start : true
     */

    private String username;
    private long ts;
    private int sockport;
    private int proto_ver;
    private String proto_name;
    private int keepalive;
    private String ipaddress;
    private int expiry_interval;
    private long connected_at;
    private int connack;
    private String clientid;
    private boolean clean_start;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public long getTs() {
        return ts;
    }

    public void setTs(long ts) {
        this.ts = ts;
    }

    public int getSockport() {
        return sockport;
    }

    public void setSockport(int sockport) {
        this.sockport = sockport;
    }

    public int getProto_ver() {
        return proto_ver;
    }

    public void setProto_ver(int proto_ver) {
        this.proto_ver = proto_ver;
    }

    public String getProto_name() {
        return proto_name;
    }

    public void setProto_name(String proto_name) {
        this.proto_name = proto_name;
    }

    public int getKeepalive() {
        return keepalive;
    }

    public void setKeepalive(int keepalive) {
        this.keepalive = keepalive;
    }

    public String getIpaddress() {
        return ipaddress;
    }

    public void setIpaddress(String ipaddress) {
        this.ipaddress = ipaddress;
    }

    public int getExpiry_interval() {
        return expiry_interval;
    }

    public void setExpiry_interval(int expiry_interval) {
        this.expiry_interval = expiry_interval;
    }

    public long getConnected_at() {
        return connected_at;
    }

    public void setConnected_at(long connected_at) {
        this.connected_at = connected_at;
    }

    public int getConnack() {
        return connack;
    }

    public void setConnack(int connack) {
        this.connack = connack;
    }

    public String getClientid() {
        return clientid;
    }

    public void setClientid(String clientid) {
        this.clientid = clientid;
    }

    public boolean isClean_start() {
        return clean_start;
    }

    public void setClean_start(boolean clean_start) {
        this.clean_start = clean_start;
    }
}
